import Vue from 'vue'
import VueRouter from 'vue-router'

import index from '../views/index.vue'
import classification from '../views/classification.vue'
import register from './modules/register'
import end from './modules/end'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'index',
    component: index
  },
  {
    path: '/classification',
    name: 'classification',
    component: classification
  },
  // 结尾模块
  end,
  // 医疗健康模块
  register,

]

const router = new VueRouter({
  mode: 'history',
  routes
})


export default router
